//
//  STUserLoginRequestModel.h
//  STShoppingMall
//
//  Created by apple on 2018/9/15.
//  Copyright © 2018年 apple. All rights reserved.
//

#import "BaseResquestModel.h"
#pragma mark - 登录请求
@interface ZB_UserLoginRequestModel : BaseResquestModel

@property (nonatomic, strong) NSString *is_type;
@property (nonatomic, strong) NSString *mobile;
@property (nonatomic, strong) NSString *password;
@property (nonatomic, strong) NSString *code;
@property (nonatomic, strong) NSString *openid;
@property (nonatomic, strong) NSString *nickname;
@property (nonatomic, strong) NSString *head_img;

@end

@interface ZB_UserLoginResponseModel : BaseResponseModel

@property (nonatomic, strong) NSString *data;
@end

#pragma mark - 注册请求
@interface ZB_UserRegisterRequestModel : BaseResquestModel
@property (nonatomic, strong) NSString *password;
//帐户（手机号、帐户）
@property (nonatomic, strong) NSString *mobile;
@property (nonatomic, strong) NSString *password_confirm;
//手机验证码；手机注册时必选
@property (nonatomic, strong) NSString *code;

@end

@interface ZB_UserRegisterHttpModel : BaseHttpModel

@end

@interface ZB_UserRegisterResponseModel : BaseResponseModel

@property (nonatomic, strong) ZB_UserRegisterHttpModel *data;
@end

#pragma mark - 发送验证码
@interface ZB_UserSendCodeRequestModel : BaseResquestModel

//手机号码
@property (nonatomic, strong) NSString *mobile;
//string 1：登录 2:注册 3：忘记密码 4：切换绑定

@property (nonatomic, strong) NSString *type;
@end

@interface ZB_UserSendCodeHttpModel : BaseHttpModel

//验证码
@property (nonatomic, strong) NSString *code;
@end

@interface ZB_UserSendCodeResponseModel : BaseResponseModel

@property (nonatomic, strong) ZB_UserSendCodeHttpModel *data;
@end


#pragma mark - 修改密码
@interface ZB_UserModifyPasswordRequestModel : BaseResquestModel

//手机号码
@property (nonatomic, strong) NSString *mobile;
@property (nonatomic, strong) NSString *code;
@property (nonatomic, strong) NSString *password;
@property (nonatomic, strong) NSString *password_check;
@end


@interface ZB_UserModifyPasswordResponseModel : BaseResponseModel

@property (nonatomic, strong) NSString *data;
@end



